{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "D:\\Env\\python\\lib\\site-packages\\gevent\\hub.py:161: UserWarning: libuv only supports millisecond timer resolution; all times less will be set to 1 ms\n",
      "  with loop.timer(seconds, ref=ref) as t:\n"
     ]
    }
   ],
   "source": [
    "\n",
    "from gevent import monkey\n",
    "monkey.patch_all()\n",
    "import requests\n",
    "from mspider import Spider\n",
    "from proxy import IpPool, USEPROXY\n",
    "from lxml import etree\n",
    "# import csv\n",
    "import pandas as pd\n",
    "import os\n",
    "from time import sleep,strftime\n",
    "import re"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "未找到UA库\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "[{'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=1',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=2',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=3',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=4',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=5',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=6',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=7',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=8',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=9',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=10',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=11',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=12',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=13',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=14',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=15',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=16',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=17',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=18',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=19',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=20',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=21',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=22',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=23',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=24',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=25',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=26',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=27',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=28',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=29',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=30',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=31',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=32',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=33',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=34',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=35',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=36',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=37',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=38',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=39',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=40',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=41',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=42',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=43',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=44',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=45',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=46',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=47',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=48',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=49',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=50',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=51',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=52',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=53',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=54',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=55',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=56',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=57',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=58',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=59',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=60',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=61',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>},\n",
       " {'url': 'http://s.manmanbuy.com/Default.aspx?btnSearch=%CB%D1%CB%F7&key=k40&PageID=62',\n",
       "  'headers': {'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.74 Safari/537.36 Edg/99.0.1150.46'},\n",
       "  'parse_func': <function mspider.Spider.parse_info(tree)>}]"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "D:\\Env\\python\\lib\\site-packages\\gevent\\hub.py:161: UserWarning: libuv only supports millisecond timer resolution; all times less will be set to 1 ms\n",
      "  with loop.timer(seconds, ref=ref) as t:\n"
     ]
    }
   ],
   "source": [
    "pages = Spider().searchKey(key='k40')\n",
    "pages"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "23\n",
      "title Redmi  k40 S 骁龙870 三星E4 AMOLED 120Hz直屏 OIS光学防抖 67W快充 亮黑 8GB+128GB 5G智能手机 小米红米\n",
      "price 1949.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100035225802.html&skuid=&proid=0\n",
      "p [' ', '京东商城', '自营', '738275天前']\n",
      "comment 76667\n",
      "pic http://img13.360buyimg.com/n1/jfs/t1/212748/39/17931/183917/626a68f9Eb019df81/3327242d0c84802e.jpg\n",
      "title 小米Redmi红米 K40  5G游戏手机 全网通【K40S店内可选】 幻境 12+256G【 K40 】 官方标配【享90天碎屏宝】\n",
      "price 2398.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/10028916625943.html&skuid=&proid=0\n",
      "p [' ', '京东商城', '京东之家官方旗舰店', '738275天前']\n",
      "comment 34103\n",
      "pic http://img13.360buyimg.com/n1/jfs/t1/109096/1/19717/275373/61574dfcEfdfc81ec/28877a270edd7aa5.jpg\n",
      "title 【购机享6期免息】Redmi K40S 骁龙870 VC散热智能游戏5g手机小米官方旗舰店官网红米k40s 红米手机红米 K40\n",
      "price 2399.0\n",
      "detail_link http://s.manmanbuy.com/productdetail.aspx?itemid=669569182078&skuid=\n",
      "p [' ', '天猫商城', '小米官方旗舰店', '4天前']\n",
      "comment 20000\n",
      "pic //img.alicdn.com/bao/uploaded/i2/1714128138/O1CN01PMVqvR29zFw2J7qX2_!!0-item_pic.jpg\n",
      "title Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相机 8GB+256GB 墨羽 游戏电竞智能5G 小米 红米\n",
      "price 2499.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021007462.html&skuid=100021007462&proid=2590311242\n",
      "p [' ', '京东商城', '自营', '5小时前']\n",
      "comment 1905977\n",
      "pic http://img12.360buyimg.com/n7/jfs/t1/160762/1/21174/122444/6086806cE3a154c90/9a42dd07328d9c2d.jpg\n",
      "title 小米 (MI)Redmi  K40  5G 12+256GB 墨羽 4520mAh大电量 年度旗舰骁龙870 专业原色屏 360Hz三指触控 游戏智能全网通5G手机\n",
      "price 2699.0\n",
      "detail_link http://s.manmanbuy.comhttp://www.manmanbuy.com/redirectUrl.aspx?bjid=2591522943&y=search\n",
      "p [' ', '苏宁易购', '自营', '5天前']\n",
      "comment 45066\n",
      "pic https://imgservice1.suning.cn/uimg1/b2c/image/iF-1h3bEt43wVUySALP72w.jpg_400w_400h_4e\n",
      "title 小米MI Redmi  K40  Pro 骁龙888 120Hz高刷直屏 6400万高清三摄相机 33W快充 8GB+128GB 墨羽 智能手机\n",
      "price 2999.0\n",
      "detail_link http://s.manmanbuy.comhttp://www.manmanbuy.com/redirectUrl.aspx?bjid=2533432755&y=search\n",
      "p [' ', '真快乐', '自营', '5天前']\n",
      "comment 1743\n",
      "list index out of range\n",
      "title Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 12GB+256GB 暗影 游戏电竞智能5G手机 小米 红米\n",
      "price 1799.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021211862.html&skuid=100021211862&proid=2592282649\n",
      "p [' ', '京东商城', '自营', '5天前']\n",
      "comment 707447\n",
      "pic https://img1.360buyimg.com/n1/jfs/t1/99783/28/24113/315629/621cb999E5f5b8665/71947c174a390b1f.jpg\n",
      "title 京品手机\t\n",
      "Redmi  K40  游戏增强版 天玑1200 120Hz高刷柔性直屏 6GB+128GB 银翼 游戏电竞智能5G手机 小米 红米\n",
      "price 1999.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021210046.html&skuid=100021210046&proid=2593508340\n",
      "p [' ', '京东商城', '自营', '5天前']\n",
      "comment 708640\n",
      "pic http://img11.360buyimg.com/n7/jfs/t1/165649/30/21232/84649/6087f39bE5d110265/9f1baffe419dbb21.jpg\n",
      "title Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+128GB 暗影 游戏电竞智能5G手机 小米 红米\n",
      "price 1699.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100011284885.html&skuid=100011284885&proid=2597394239\n",
      "p [' ', '京东商城', '自营', '5天前']\n",
      "comment 707448\n",
      "pic https://img1.360buyimg.com/n1/jfs/t1/167679/27/27166/312007/621c9818Ead71f21c/52593a4fc69c609b.jpg\n",
      "title 京品手机\t\n",
      "Redmi  K40  游戏增强版 天玑1200 67W闪充 120Hz高刷柔性直屏 12GB+256GB 银翼 游戏电竞智能5G手机 小米 红米\n",
      "price 1799.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021211820.html&skuid=100021211820&proid=2610739358\n",
      "p [' ', '京东商城', '自营', '5天前']\n",
      "comment 708795\n",
      "pic http://img10.360buyimg.com/n7/jfs/t1/192077/3/299/84649/6087f79fE4c4dcd9e/0e915ffd26f8f7b8.jpg\n",
      "title Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相机 8GB+256GB 晴雪 游戏电竞智能5G 小米 红米\n",
      "price 2699.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100018640834.html&skuid=100018640834&proid=2535137099\n",
      "p [' ', '京东商城', '自营', '16小时前']\n",
      "comment 1896132\n",
      "pic http://img14.360buyimg.com/n7/jfs/t1/213550/40/15995/233817/62416100E90c59124/bef8a375152a2c07.jpg\n",
      "title 小米(MI)Redmi  K40  5G 骁龙870 三星AMOLED 120Hz高刷直屏 12GB+256GB 晴雪白\n",
      "price 2299.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100033876096.html&skuid=100033876096&proid=3215068386\n",
      "p [' ', '京东商城', '自营', '5天前']\n",
      "comment 180\n",
      "pic https://img14.360buyimg.com/pop/jfs/t1/130065/31/24731/72970/621dee5aEf18d20f1/8c6091e49ca47cdb.jpg\n",
      "title 【赠蓝牙耳机+顶配直降100元】小米11Pro5g小米手机骁龙888新品智能 k40 游戏拍照小米官方旗舰店安卓小米11pro\n",
      "price 4299.0\n",
      "detail_link http://s.manmanbuy.com/productdetail.aspx?itemid=640814759553&skuid=\n",
      "p [' ', '天猫商城', '小米官方旗舰店', '5天前']\n",
      "comment 2000\n",
      "pic //img.alicdn.com/bao/uploaded/i3/1714128138/O1CN01JtUjxB29zFvRwRCDy_!!0-item_pic.jpg\n",
      "title Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相机 8GB+256GB 晴雪 游戏电竞智能5G 小米 红米\n",
      "price 1999.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100018640842.html&skuid=100018640842&proid=2534577170\n",
      "p [' ', '京东商城', '自营', '5小时前']\n",
      "comment 1903086\n",
      "pic http://img12.360buyimg.com/n7/jfs/t1/151947/40/18542/43553/60377e9cE354f8865/a6cd0ff0752c6c7d.jpg\n",
      "title Redmi  K40 游戏增强版 天玑1200旗舰处理器 67W闪充 120Hz高刷 12GB+128GB 暗影 电竞5G手机 小米 红米\n",
      "price 1999.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021205488.html&skuid=100021205488&proid=2590301904\n",
      "p [' ', '京东商城', '自营', '4天前']\n",
      "comment 707448\n",
      "pic https://img1.360buyimg.com/n1/jfs/t1/103617/32/22657/312005/621cb81fE042fc418/e16891c17b23e21f.jpg\n",
      "title Redmi  K40  游戏增强版 天玑1200 67W闪充 120Hz高刷柔性直屏 8GB+256GB 暗影 游戏电竞智能5G手机小米 红米\n",
      "price 2099.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100030532582.html&skuid=100030532582&proid=2980929241\n",
      "p [' ', '京东商城', '自营', '4天前']\n",
      "comment 121\n",
      "pic http://img12.360buyimg.com/n7/jfs/t1/220563/19/6626/82352/61ab5f52E85f44868/afe496079546d0a0.jpg\n",
      "title 京品手机\t\n",
      "Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+256GB 光刃 电竞智能5G手机 小米 红米\n",
      "price 1699.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021210014.html&skuid=100021210014&proid=2594388759\n",
      "p [' ', '京东商城', '自营', '4天前']\n",
      "comment 709512\n",
      "pic http://img14.360buyimg.com/n7/jfs/t1/163161/3/21232/84445/6087e853E8892d7cc/d66470706fe3567b.jpg\n",
      "title 京品手机Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+256GB 暗影 电竞智能5G手机 小米 红米\n",
      "price 1799.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021210030.html&skuid=100021210030&proid=2601531889\n",
      "p [' ', '京东商城', '自营', '4天前']\n",
      "comment 709512\n",
      "pic http://img10.360buyimg.com/n7/jfs/t1/167260/19/21606/84862/6087e99bE5d046b1f/e0dd064dd82f4033.jpg\n",
      "title Redmi  K40  骁龙870  120Hz高刷 4800万高清三摄 8GB+128GB 幻境【联通用户专享优惠】\n",
      "price 1866.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100019514035.html&skuid=100019514035&proid=3231113722\n",
      "p [' ', '京东商城', '自营', '4天前']\n",
      "comment 208\n",
      "pic https://img14.360buyimg.com/pop/jfs/t1/132026/2/23949/49048/622057eeE4fdc5254/973beaf3c1856e7b.jpg\n",
      "title 小米 Redmi  K40  5G 旗舰骁龙870 120Hz高刷 4800万高清三摄 33W快充 8GB+128GB 墨羽【联通用户专享优惠】\n",
      "price 1809.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100034652328.html&skuid=100034652328&proid=3235996351\n",
      "p [' ', '京东商城', '自营', '4天前']\n",
      "comment 232\n",
      "pic http://img13.360buyimg.com/n7/jfs/t1/217605/7/14164/53522/6225b487E90fadba7/85b057d18910fabc.jpg\n",
      "title 小米 (MI)Redmi  K40  5G 6+128GB 亮黑 4520mAh大电量 年度旗舰骁龙870 专业原色屏 360Hz三指触控 游戏智能全网通5G手机\n",
      "price 1999.0\n",
      "detail_link http://s.manmanbuy.comhttp://www.manmanbuy.com/redirectUrl.aspx?bjid=2553350947&y=search\n",
      "p [' ', '苏宁易购', '自营', '5天前']\n",
      "comment 42909\n",
      "pic https://uimgproxy.suning.cn/uimg1/pcpv/pcpv/iwogh/2022/02/22/09/iwoghBannerPicture/lTYvPmkz4v1645492024867.png_400w_400h_4e\n",
      "title Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+256GB 暗影 游戏电竞智能5G手机 小米 红米\n",
      "price 2399.0\n",
      "detail_link http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100025471374.html&skuid=100025471374&proid=2747960196\n",
      "p [' ', '京东商城', '自营', '5天前']\n",
      "comment 14\n",
      "pic https://img14.360buyimg.com/pop/jfs/t1/178307/1/19034/86572/611dcd6bE844b886a/1607004655d1a041.jpg\n",
      "title 小米 (MI)Redmi  K40 游戏增强版 8+256GB 光刃 高游戏性能认证 天玑1200处理器 5G智能电竞手机 小米安卓大屏手机游戏手机\n",
      "price 2399.0\n",
      "detail_link http://s.manmanbuy.comhttp://www.manmanbuy.com/redirectUrl.aspx?bjid=2595795465&y=search\n",
      "p [' ', '苏宁易购', '自营', '4天前']\n",
      "comment 3049\n",
      "pic https://uimgproxy.suning.cn/uimg1/pcpv/pcpv/iwogh/2021/11/03/09/iwoghBannerPicture/TGuBNgGU6V1635904499805.png_400w_400h_4e\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "(['title',\n",
       "  'price',\n",
       "  'detail_link',\n",
       "  'mall',\n",
       "  'store',\n",
       "  'comment',\n",
       "  'pic',\n",
       "  'create_time'],\n",
       " [['Redmi  k40 S 骁龙870 三星E4 AMOLED 120Hz直屏 OIS光学防抖 67W快充 亮黑 8GB+128GB 5G智能手机 小米红米',\n",
       "   1949.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100035225802.html&skuid=&proid=0',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   76667,\n",
       "   'http://img13.360buyimg.com/n1/jfs/t1/212748/39/17931/183917/626a68f9Eb019df81/3327242d0c84802e.jpg',\n",
       "   '738275天前'],\n",
       "  ['小米Redmi红米 K40  5G游戏手机 全网通【K40S店内可选】 幻境 12+256G【 K40 】 官方标配【享90天碎屏宝】',\n",
       "   2398.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/10028916625943.html&skuid=&proid=0',\n",
       "   '京东商城',\n",
       "   '京东之家官方旗舰店',\n",
       "   34103,\n",
       "   'http://img13.360buyimg.com/n1/jfs/t1/109096/1/19717/275373/61574dfcEfdfc81ec/28877a270edd7aa5.jpg',\n",
       "   '738275天前'],\n",
       "  ['【购机享6期免息】Redmi K40S 骁龙870 VC散热智能游戏5g手机小米官方旗舰店官网红米k40s 红米手机红米 K40',\n",
       "   2399.0,\n",
       "   'http://s.manmanbuy.com/productdetail.aspx?itemid=669569182078&skuid=',\n",
       "   '天猫商城',\n",
       "   '小米官方旗舰店',\n",
       "   20000,\n",
       "   '//img.alicdn.com/bao/uploaded/i2/1714128138/O1CN01PMVqvR29zFw2J7qX2_!!0-item_pic.jpg',\n",
       "   '4天前'],\n",
       "  ['Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相机 8GB+256GB 墨羽 游戏电竞智能5G 小米 红米',\n",
       "   2499.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021007462.html&skuid=100021007462&proid=2590311242',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   1905977,\n",
       "   'http://img12.360buyimg.com/n7/jfs/t1/160762/1/21174/122444/6086806cE3a154c90/9a42dd07328d9c2d.jpg',\n",
       "   '5小时前'],\n",
       "  ['小米 (MI)Redmi  K40  5G 12+256GB 墨羽 4520mAh大电量 年度旗舰骁龙870 专业原色屏 360Hz三指触控 游戏智能全网通5G手机',\n",
       "   2699.0,\n",
       "   'http://s.manmanbuy.comhttp://www.manmanbuy.com/redirectUrl.aspx?bjid=2591522943&y=search',\n",
       "   '苏宁易购',\n",
       "   '自营',\n",
       "   45066,\n",
       "   'https://imgservice1.suning.cn/uimg1/b2c/image/iF-1h3bEt43wVUySALP72w.jpg_400w_400h_4e',\n",
       "   '5天前'],\n",
       "  ['小米MI Redmi  K40  Pro 骁龙888 120Hz高刷直屏 6400万高清三摄相机 33W快充 8GB+128GB 墨羽 智能手机',\n",
       "   2999.0,\n",
       "   'http://s.manmanbuy.comhttp://www.manmanbuy.com/redirectUrl.aspx?bjid=2533432755&y=search',\n",
       "   '真快乐',\n",
       "   '自营',\n",
       "   1743,\n",
       "   'https://imgservice1.suning.cn/uimg1/b2c/image/iF-1h3bEt43wVUySALP72w.jpg_400w_400h_4e',\n",
       "   '5天前'],\n",
       "  ['Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 12GB+256GB 暗影 游戏电竞智能5G手机 小米 红米',\n",
       "   1799.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021211862.html&skuid=100021211862&proid=2592282649',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   707447,\n",
       "   'https://img1.360buyimg.com/n1/jfs/t1/99783/28/24113/315629/621cb999E5f5b8665/71947c174a390b1f.jpg',\n",
       "   '5天前'],\n",
       "  ['京品手机\\t\\nRedmi  K40  游戏增强版 天玑1200 120Hz高刷柔性直屏 6GB+128GB 银翼 游戏电竞智能5G手机 小米 红米',\n",
       "   1999.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021210046.html&skuid=100021210046&proid=2593508340',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   708640,\n",
       "   'http://img11.360buyimg.com/n7/jfs/t1/165649/30/21232/84649/6087f39bE5d110265/9f1baffe419dbb21.jpg',\n",
       "   '5天前'],\n",
       "  ['Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+128GB 暗影 游戏电竞智能5G手机 小米 红米',\n",
       "   1699.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100011284885.html&skuid=100011284885&proid=2597394239',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   707448,\n",
       "   'https://img1.360buyimg.com/n1/jfs/t1/167679/27/27166/312007/621c9818Ead71f21c/52593a4fc69c609b.jpg',\n",
       "   '5天前'],\n",
       "  ['京品手机\\t\\nRedmi  K40  游戏增强版 天玑1200 67W闪充 120Hz高刷柔性直屏 12GB+256GB 银翼 游戏电竞智能5G手机 小米 红米',\n",
       "   1799.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021211820.html&skuid=100021211820&proid=2610739358',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   708795,\n",
       "   'http://img10.360buyimg.com/n7/jfs/t1/192077/3/299/84649/6087f79fE4c4dcd9e/0e915ffd26f8f7b8.jpg',\n",
       "   '5天前'],\n",
       "  ['Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相机 8GB+256GB 晴雪 游戏电竞智能5G 小米 红米',\n",
       "   2699.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100018640834.html&skuid=100018640834&proid=2535137099',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   1896132,\n",
       "   'http://img14.360buyimg.com/n7/jfs/t1/213550/40/15995/233817/62416100E90c59124/bef8a375152a2c07.jpg',\n",
       "   '16小时前'],\n",
       "  ['小米(MI)Redmi  K40  5G 骁龙870 三星AMOLED 120Hz高刷直屏 12GB+256GB 晴雪白',\n",
       "   2299.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100033876096.html&skuid=100033876096&proid=3215068386',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   180,\n",
       "   'https://img14.360buyimg.com/pop/jfs/t1/130065/31/24731/72970/621dee5aEf18d20f1/8c6091e49ca47cdb.jpg',\n",
       "   '5天前'],\n",
       "  ['【赠蓝牙耳机+顶配直降100元】小米11Pro5g小米手机骁龙888新品智能 k40 游戏拍照小米官方旗舰店安卓小米11pro',\n",
       "   4299.0,\n",
       "   'http://s.manmanbuy.com/productdetail.aspx?itemid=640814759553&skuid=',\n",
       "   '天猫商城',\n",
       "   '小米官方旗舰店',\n",
       "   2000,\n",
       "   '//img.alicdn.com/bao/uploaded/i3/1714128138/O1CN01JtUjxB29zFvRwRCDy_!!0-item_pic.jpg',\n",
       "   '5天前'],\n",
       "  ['Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相机 8GB+256GB 晴雪 游戏电竞智能5G 小米 红米',\n",
       "   1999.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100018640842.html&skuid=100018640842&proid=2534577170',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   1903086,\n",
       "   'http://img12.360buyimg.com/n7/jfs/t1/151947/40/18542/43553/60377e9cE354f8865/a6cd0ff0752c6c7d.jpg',\n",
       "   '5小时前'],\n",
       "  ['Redmi  K40 游戏增强版 天玑1200旗舰处理器 67W闪充 120Hz高刷 12GB+128GB 暗影 电竞5G手机 小米 红米',\n",
       "   1999.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021205488.html&skuid=100021205488&proid=2590301904',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   707448,\n",
       "   'https://img1.360buyimg.com/n1/jfs/t1/103617/32/22657/312005/621cb81fE042fc418/e16891c17b23e21f.jpg',\n",
       "   '4天前'],\n",
       "  ['Redmi  K40  游戏增强版 天玑1200 67W闪充 120Hz高刷柔性直屏 8GB+256GB 暗影 游戏电竞智能5G手机小米 红米',\n",
       "   2099.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100030532582.html&skuid=100030532582&proid=2980929241',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   121,\n",
       "   'http://img12.360buyimg.com/n7/jfs/t1/220563/19/6626/82352/61ab5f52E85f44868/afe496079546d0a0.jpg',\n",
       "   '4天前'],\n",
       "  ['京品手机\\t\\nRedmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+256GB 光刃 电竞智能5G手机 小米 红米',\n",
       "   1699.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021210014.html&skuid=100021210014&proid=2594388759',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   709512,\n",
       "   'http://img14.360buyimg.com/n7/jfs/t1/163161/3/21232/84445/6087e853E8892d7cc/d66470706fe3567b.jpg',\n",
       "   '4天前'],\n",
       "  ['京品手机Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+256GB 暗影 电竞智能5G手机 小米 红米',\n",
       "   1799.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021210030.html&skuid=100021210030&proid=2601531889',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   709512,\n",
       "   'http://img10.360buyimg.com/n7/jfs/t1/167260/19/21606/84862/6087e99bE5d046b1f/e0dd064dd82f4033.jpg',\n",
       "   '4天前'],\n",
       "  ['Redmi  K40  骁龙870  120Hz高刷 4800万高清三摄 8GB+128GB 幻境【联通用户专享优惠】',\n",
       "   1866.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100019514035.html&skuid=100019514035&proid=3231113722',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   208,\n",
       "   'https://img14.360buyimg.com/pop/jfs/t1/132026/2/23949/49048/622057eeE4fdc5254/973beaf3c1856e7b.jpg',\n",
       "   '4天前'],\n",
       "  ['小米 Redmi  K40  5G 旗舰骁龙870 120Hz高刷 4800万高清三摄 33W快充 8GB+128GB 墨羽【联通用户专享优惠】',\n",
       "   1809.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100034652328.html&skuid=100034652328&proid=3235996351',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   232,\n",
       "   'http://img13.360buyimg.com/n7/jfs/t1/217605/7/14164/53522/6225b487E90fadba7/85b057d18910fabc.jpg',\n",
       "   '4天前'],\n",
       "  ['小米 (MI)Redmi  K40  5G 6+128GB 亮黑 4520mAh大电量 年度旗舰骁龙870 专业原色屏 360Hz三指触控 游戏智能全网通5G手机',\n",
       "   1999.0,\n",
       "   'http://s.manmanbuy.comhttp://www.manmanbuy.com/redirectUrl.aspx?bjid=2553350947&y=search',\n",
       "   '苏宁易购',\n",
       "   '自营',\n",
       "   42909,\n",
       "   'https://uimgproxy.suning.cn/uimg1/pcpv/pcpv/iwogh/2022/02/22/09/iwoghBannerPicture/lTYvPmkz4v1645492024867.png_400w_400h_4e',\n",
       "   '5天前'],\n",
       "  ['Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+256GB 暗影 游戏电竞智能5G手机 小米 红米',\n",
       "   2399.0,\n",
       "   'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100025471374.html&skuid=100025471374&proid=2747960196',\n",
       "   '京东商城',\n",
       "   '自营',\n",
       "   14,\n",
       "   'https://img14.360buyimg.com/pop/jfs/t1/178307/1/19034/86572/611dcd6bE844b886a/1607004655d1a041.jpg',\n",
       "   '5天前'],\n",
       "  ['小米 (MI)Redmi  K40 游戏增强版 8+256GB 光刃 高游戏性能认证 天玑1200处理器 5G智能电竞手机 小米安卓大屏手机游戏手机',\n",
       "   2399.0,\n",
       "   'http://s.manmanbuy.comhttp://www.manmanbuy.com/redirectUrl.aspx?bjid=2595795465&y=search',\n",
       "   '苏宁易购',\n",
       "   '自营',\n",
       "   3049,\n",
       "   'https://uimgproxy.suning.cn/uimg1/pcpv/pcpv/iwogh/2021/11/03/09/iwoghBannerPicture/TGuBNgGU6V1635904499805.png_400w_400h_4e',\n",
       "   '4天前']])"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "page = pages[0]\n",
    "url,headers,parse=page[\"url\"], page[\"headers\"], page[\"parse_func\"]\n",
    "r = requests.get(url,headers=headers,timeout=7)\n",
    "r.raise_for_status()\n",
    "tree = etree.HTML(r.text)\n",
    "labels, data = parse(tree)\n",
    "labels,data\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>title</th>\n",
       "      <th>price</th>\n",
       "      <th>detail_link</th>\n",
       "      <th>mall</th>\n",
       "      <th>store</th>\n",
       "      <th>comment</th>\n",
       "      <th>pic</th>\n",
       "      <th>create_time</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Redmi  k40 S 骁龙870 三星E4 AMOLED 120Hz直屏 OIS光学防抖...</td>\n",
       "      <td>1949.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>76667</td>\n",
       "      <td>http://img13.360buyimg.com/n1/jfs/t1/212748/39...</td>\n",
       "      <td>738275天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>小米Redmi红米 K40  5G游戏手机 全网通【K40S店内可选】 幻境 12+256G...</td>\n",
       "      <td>2398.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>京东之家官方旗舰店</td>\n",
       "      <td>34103</td>\n",
       "      <td>http://img13.360buyimg.com/n1/jfs/t1/109096/1/...</td>\n",
       "      <td>738275天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>【购机享6期免息】Redmi K40S 骁龙870 VC散热智能游戏5g手机小米官方旗舰店官...</td>\n",
       "      <td>2399.0</td>\n",
       "      <td>http://s.manmanbuy.com/productdetail.aspx?item...</td>\n",
       "      <td>天猫商城</td>\n",
       "      <td>小米官方旗舰店</td>\n",
       "      <td>20000</td>\n",
       "      <td>//img.alicdn.com/bao/uploaded/i2/1714128138/O1...</td>\n",
       "      <td>4天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相...</td>\n",
       "      <td>2499.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>1905977</td>\n",
       "      <td>http://img12.360buyimg.com/n7/jfs/t1/160762/1/...</td>\n",
       "      <td>5小时前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>小米 (MI)Redmi  K40  5G 12+256GB 墨羽 4520mAh大电量 年...</td>\n",
       "      <td>2699.0</td>\n",
       "      <td>http://s.manmanbuy.comhttp://www.manmanbuy.com...</td>\n",
       "      <td>苏宁易购</td>\n",
       "      <td>自营</td>\n",
       "      <td>45066</td>\n",
       "      <td>https://imgservice1.suning.cn/uimg1/b2c/image/...</td>\n",
       "      <td>5天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>小米MI Redmi  K40  Pro 骁龙888 120Hz高刷直屏 6400万高清三摄...</td>\n",
       "      <td>2999.0</td>\n",
       "      <td>http://s.manmanbuy.comhttp://www.manmanbuy.com...</td>\n",
       "      <td>真快乐</td>\n",
       "      <td>自营</td>\n",
       "      <td>1743</td>\n",
       "      <td>https://imgservice1.suning.cn/uimg1/b2c/image/...</td>\n",
       "      <td>5天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 12GB...</td>\n",
       "      <td>1799.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>707447</td>\n",
       "      <td>https://img1.360buyimg.com/n1/jfs/t1/99783/28/...</td>\n",
       "      <td>5天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>京品手机\\t\\nRedmi  K40  游戏增强版 天玑1200 120Hz高刷柔性直屏 6...</td>\n",
       "      <td>1999.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>708640</td>\n",
       "      <td>http://img11.360buyimg.com/n7/jfs/t1/165649/30...</td>\n",
       "      <td>5天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+...</td>\n",
       "      <td>1699.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>707448</td>\n",
       "      <td>https://img1.360buyimg.com/n1/jfs/t1/167679/27...</td>\n",
       "      <td>5天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>京品手机\\t\\nRedmi  K40  游戏增强版 天玑1200 67W闪充 120Hz高刷...</td>\n",
       "      <td>1799.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>708795</td>\n",
       "      <td>http://img10.360buyimg.com/n7/jfs/t1/192077/3/...</td>\n",
       "      <td>5天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相...</td>\n",
       "      <td>2699.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>1896132</td>\n",
       "      <td>http://img14.360buyimg.com/n7/jfs/t1/213550/40...</td>\n",
       "      <td>16小时前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>小米(MI)Redmi  K40  5G 骁龙870 三星AMOLED 120Hz高刷直屏 ...</td>\n",
       "      <td>2299.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>180</td>\n",
       "      <td>https://img14.360buyimg.com/pop/jfs/t1/130065/...</td>\n",
       "      <td>5天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>【赠蓝牙耳机+顶配直降100元】小米11Pro5g小米手机骁龙888新品智能 k40 游戏拍...</td>\n",
       "      <td>4299.0</td>\n",
       "      <td>http://s.manmanbuy.com/productdetail.aspx?item...</td>\n",
       "      <td>天猫商城</td>\n",
       "      <td>小米官方旗舰店</td>\n",
       "      <td>2000</td>\n",
       "      <td>//img.alicdn.com/bao/uploaded/i3/1714128138/O1...</td>\n",
       "      <td>5天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相...</td>\n",
       "      <td>1999.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>1903086</td>\n",
       "      <td>http://img12.360buyimg.com/n7/jfs/t1/151947/40...</td>\n",
       "      <td>5小时前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Redmi  K40 游戏增强版 天玑1200旗舰处理器 67W闪充 120Hz高刷 12G...</td>\n",
       "      <td>1999.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>707448</td>\n",
       "      <td>https://img1.360buyimg.com/n1/jfs/t1/103617/32...</td>\n",
       "      <td>4天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Redmi  K40  游戏增强版 天玑1200 67W闪充 120Hz高刷柔性直屏 8GB...</td>\n",
       "      <td>2099.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>121</td>\n",
       "      <td>http://img12.360buyimg.com/n7/jfs/t1/220563/19...</td>\n",
       "      <td>4天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>京品手机\\t\\nRedmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高...</td>\n",
       "      <td>1699.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>709512</td>\n",
       "      <td>http://img14.360buyimg.com/n7/jfs/t1/163161/3/...</td>\n",
       "      <td>4天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>京品手机Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 ...</td>\n",
       "      <td>1799.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>709512</td>\n",
       "      <td>http://img10.360buyimg.com/n7/jfs/t1/167260/19...</td>\n",
       "      <td>4天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Redmi  K40  骁龙870  120Hz高刷 4800万高清三摄 8GB+128GB...</td>\n",
       "      <td>1866.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>208</td>\n",
       "      <td>https://img14.360buyimg.com/pop/jfs/t1/132026/...</td>\n",
       "      <td>4天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>小米 Redmi  K40  5G 旗舰骁龙870 120Hz高刷 4800万高清三摄 33...</td>\n",
       "      <td>1809.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>232</td>\n",
       "      <td>http://img13.360buyimg.com/n7/jfs/t1/217605/7/...</td>\n",
       "      <td>4天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>小米 (MI)Redmi  K40  5G 6+128GB 亮黑 4520mAh大电量 年度...</td>\n",
       "      <td>1999.0</td>\n",
       "      <td>http://s.manmanbuy.comhttp://www.manmanbuy.com...</td>\n",
       "      <td>苏宁易购</td>\n",
       "      <td>自营</td>\n",
       "      <td>42909</td>\n",
       "      <td>https://uimgproxy.suning.cn/uimg1/pcpv/pcpv/iw...</td>\n",
       "      <td>5天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+...</td>\n",
       "      <td>2399.0</td>\n",
       "      <td>http://s.manmanbuy.com/jdDetail.aspx?originalU...</td>\n",
       "      <td>京东商城</td>\n",
       "      <td>自营</td>\n",
       "      <td>14</td>\n",
       "      <td>https://img14.360buyimg.com/pop/jfs/t1/178307/...</td>\n",
       "      <td>5天前</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>小米 (MI)Redmi  K40 游戏增强版 8+256GB 光刃 高游戏性能认证 天玑1...</td>\n",
       "      <td>2399.0</td>\n",
       "      <td>http://s.manmanbuy.comhttp://www.manmanbuy.com...</td>\n",
       "      <td>苏宁易购</td>\n",
       "      <td>自营</td>\n",
       "      <td>3049</td>\n",
       "      <td>https://uimgproxy.suning.cn/uimg1/pcpv/pcpv/iw...</td>\n",
       "      <td>4天前</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                title   price  \\\n",
       "0   Redmi  k40 S 骁龙870 三星E4 AMOLED 120Hz直屏 OIS光学防抖...  1949.0   \n",
       "1   小米Redmi红米 K40  5G游戏手机 全网通【K40S店内可选】 幻境 12+256G...  2398.0   \n",
       "2   【购机享6期免息】Redmi K40S 骁龙870 VC散热智能游戏5g手机小米官方旗舰店官...  2399.0   \n",
       "3   Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相...  2499.0   \n",
       "4   小米 (MI)Redmi  K40  5G 12+256GB 墨羽 4520mAh大电量 年...  2699.0   \n",
       "5   小米MI Redmi  K40  Pro 骁龙888 120Hz高刷直屏 6400万高清三摄...  2999.0   \n",
       "6   Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 12GB...  1799.0   \n",
       "7   京品手机\\t\\nRedmi  K40  游戏增强版 天玑1200 120Hz高刷柔性直屏 6...  1999.0   \n",
       "8   Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+...  1699.0   \n",
       "9   京品手机\\t\\nRedmi  K40  游戏增强版 天玑1200 67W闪充 120Hz高刷...  1799.0   \n",
       "10  Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相...  2699.0   \n",
       "11  小米(MI)Redmi  K40  5G 骁龙870 三星AMOLED 120Hz高刷直屏 ...  2299.0   \n",
       "12  【赠蓝牙耳机+顶配直降100元】小米11Pro5g小米手机骁龙888新品智能 k40 游戏拍...  4299.0   \n",
       "13  Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相...  1999.0   \n",
       "14  Redmi  K40 游戏增强版 天玑1200旗舰处理器 67W闪充 120Hz高刷 12G...  1999.0   \n",
       "15  Redmi  K40  游戏增强版 天玑1200 67W闪充 120Hz高刷柔性直屏 8GB...  2099.0   \n",
       "16  京品手机\\t\\nRedmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高...  1699.0   \n",
       "17  京品手机Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 ...  1799.0   \n",
       "18  Redmi  K40  骁龙870  120Hz高刷 4800万高清三摄 8GB+128GB...  1866.0   \n",
       "19  小米 Redmi  K40  5G 旗舰骁龙870 120Hz高刷 4800万高清三摄 33...  1809.0   \n",
       "20  小米 (MI)Redmi  K40  5G 6+128GB 亮黑 4520mAh大电量 年度...  1999.0   \n",
       "21  Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+...  2399.0   \n",
       "22  小米 (MI)Redmi  K40 游戏增强版 8+256GB 光刃 高游戏性能认证 天玑1...  2399.0   \n",
       "\n",
       "                                          detail_link  mall      store  \\\n",
       "0   http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "1   http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城  京东之家官方旗舰店   \n",
       "2   http://s.manmanbuy.com/productdetail.aspx?item...  天猫商城    小米官方旗舰店   \n",
       "3   http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "4   http://s.manmanbuy.comhttp://www.manmanbuy.com...  苏宁易购         自营   \n",
       "5   http://s.manmanbuy.comhttp://www.manmanbuy.com...   真快乐         自营   \n",
       "6   http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "7   http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "8   http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "9   http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "10  http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "11  http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "12  http://s.manmanbuy.com/productdetail.aspx?item...  天猫商城    小米官方旗舰店   \n",
       "13  http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "14  http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "15  http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "16  http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "17  http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "18  http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "19  http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "20  http://s.manmanbuy.comhttp://www.manmanbuy.com...  苏宁易购         自营   \n",
       "21  http://s.manmanbuy.com/jdDetail.aspx?originalU...  京东商城         自营   \n",
       "22  http://s.manmanbuy.comhttp://www.manmanbuy.com...  苏宁易购         自营   \n",
       "\n",
       "    comment                                                pic create_time  \n",
       "0     76667  http://img13.360buyimg.com/n1/jfs/t1/212748/39...    738275天前  \n",
       "1     34103  http://img13.360buyimg.com/n1/jfs/t1/109096/1/...    738275天前  \n",
       "2     20000  //img.alicdn.com/bao/uploaded/i2/1714128138/O1...         4天前  \n",
       "3   1905977  http://img12.360buyimg.com/n7/jfs/t1/160762/1/...        5小时前  \n",
       "4     45066  https://imgservice1.suning.cn/uimg1/b2c/image/...         5天前  \n",
       "5      1743  https://imgservice1.suning.cn/uimg1/b2c/image/...         5天前  \n",
       "6    707447  https://img1.360buyimg.com/n1/jfs/t1/99783/28/...         5天前  \n",
       "7    708640  http://img11.360buyimg.com/n7/jfs/t1/165649/30...         5天前  \n",
       "8    707448  https://img1.360buyimg.com/n1/jfs/t1/167679/27...         5天前  \n",
       "9    708795  http://img10.360buyimg.com/n7/jfs/t1/192077/3/...         5天前  \n",
       "10  1896132  http://img14.360buyimg.com/n7/jfs/t1/213550/40...       16小时前  \n",
       "11      180  https://img14.360buyimg.com/pop/jfs/t1/130065/...         5天前  \n",
       "12     2000  //img.alicdn.com/bao/uploaded/i3/1714128138/O1...         5天前  \n",
       "13  1903086  http://img12.360buyimg.com/n7/jfs/t1/151947/40...        5小时前  \n",
       "14   707448  https://img1.360buyimg.com/n1/jfs/t1/103617/32...         4天前  \n",
       "15      121  http://img12.360buyimg.com/n7/jfs/t1/220563/19...         4天前  \n",
       "16   709512  http://img14.360buyimg.com/n7/jfs/t1/163161/3/...         4天前  \n",
       "17   709512  http://img10.360buyimg.com/n7/jfs/t1/167260/19...         4天前  \n",
       "18      208  https://img14.360buyimg.com/pop/jfs/t1/132026/...         4天前  \n",
       "19      232  http://img13.360buyimg.com/n7/jfs/t1/217605/7/...         4天前  \n",
       "20    42909  https://uimgproxy.suning.cn/uimg1/pcpv/pcpv/iw...         5天前  \n",
       "21       14  https://img14.360buyimg.com/pop/jfs/t1/178307/...         5天前  \n",
       "22     3049  https://uimgproxy.suning.cn/uimg1/pcpv/pcpv/iw...         4天前  "
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "D:\\Env\\python\\lib\\site-packages\\gevent\\hub.py:161: UserWarning: libuv only supports millisecond timer resolution; all times less will be set to 1 ms\n",
      "  with loop.timer(seconds, ref=ref) as t:\n"
     ]
    }
   ],
   "source": [
    "t = pd.DataFrame(data,columns=labels)\n",
    "t"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[{'title': 'Redmi  k40 S 骁龙870 三星E4 AMOLED 120Hz直屏 OIS光学防抖 67W快充 亮黑 8GB+128GB 5G智能手机 小米红米',\n",
       "  'price': 1949.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100035225802.html&skuid=&proid=0',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 76667,\n",
       "  'pic': 'http://img13.360buyimg.com/n1/jfs/t1/212748/39/17931/183917/626a68f9Eb019df81/3327242d0c84802e.jpg',\n",
       "  'create_time': '738275天前'},\n",
       " {'title': '小米Redmi红米 K40  5G游戏手机 全网通【K40S店内可选】 幻境 12+256G【 K40 】 官方标配【享90天碎屏宝】',\n",
       "  'price': 2398.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/10028916625943.html&skuid=&proid=0',\n",
       "  'mall': '京东商城',\n",
       "  'store': '京东之家官方旗舰店',\n",
       "  'comment': 34103,\n",
       "  'pic': 'http://img13.360buyimg.com/n1/jfs/t1/109096/1/19717/275373/61574dfcEfdfc81ec/28877a270edd7aa5.jpg',\n",
       "  'create_time': '738275天前'},\n",
       " {'title': '【购机享6期免息】Redmi K40S 骁龙870 VC散热智能游戏5g手机小米官方旗舰店官网红米k40s 红米手机红米 K40',\n",
       "  'price': 2399.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/productdetail.aspx?itemid=669569182078&skuid=',\n",
       "  'mall': '天猫商城',\n",
       "  'store': '小米官方旗舰店',\n",
       "  'comment': 20000,\n",
       "  'pic': '//img.alicdn.com/bao/uploaded/i2/1714128138/O1CN01PMVqvR29zFw2J7qX2_!!0-item_pic.jpg',\n",
       "  'create_time': '4天前'},\n",
       " {'title': 'Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相机 8GB+256GB 墨羽 游戏电竞智能5G 小米 红米',\n",
       "  'price': 2499.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021007462.html&skuid=100021007462&proid=2590311242',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 1905977,\n",
       "  'pic': 'http://img12.360buyimg.com/n7/jfs/t1/160762/1/21174/122444/6086806cE3a154c90/9a42dd07328d9c2d.jpg',\n",
       "  'create_time': '5小时前'},\n",
       " {'title': '小米 (MI)Redmi  K40  5G 12+256GB 墨羽 4520mAh大电量 年度旗舰骁龙870 专业原色屏 360Hz三指触控 游戏智能全网通5G手机',\n",
       "  'price': 2699.0,\n",
       "  'detail_link': 'http://s.manmanbuy.comhttp://www.manmanbuy.com/redirectUrl.aspx?bjid=2591522943&y=search',\n",
       "  'mall': '苏宁易购',\n",
       "  'store': '自营',\n",
       "  'comment': 45066,\n",
       "  'pic': 'https://imgservice1.suning.cn/uimg1/b2c/image/iF-1h3bEt43wVUySALP72w.jpg_400w_400h_4e',\n",
       "  'create_time': '5天前'},\n",
       " {'title': '小米MI Redmi  K40  Pro 骁龙888 120Hz高刷直屏 6400万高清三摄相机 33W快充 8GB+128GB 墨羽 智能手机',\n",
       "  'price': 2999.0,\n",
       "  'detail_link': 'http://s.manmanbuy.comhttp://www.manmanbuy.com/redirectUrl.aspx?bjid=2533432755&y=search',\n",
       "  'mall': '真快乐',\n",
       "  'store': '自营',\n",
       "  'comment': 1743,\n",
       "  'pic': 'https://imgservice1.suning.cn/uimg1/b2c/image/iF-1h3bEt43wVUySALP72w.jpg_400w_400h_4e',\n",
       "  'create_time': '5天前'},\n",
       " {'title': 'Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 12GB+256GB 暗影 游戏电竞智能5G手机 小米 红米',\n",
       "  'price': 1799.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021211862.html&skuid=100021211862&proid=2592282649',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 707447,\n",
       "  'pic': 'https://img1.360buyimg.com/n1/jfs/t1/99783/28/24113/315629/621cb999E5f5b8665/71947c174a390b1f.jpg',\n",
       "  'create_time': '5天前'},\n",
       " {'title': '京品手机\\t\\nRedmi  K40  游戏增强版 天玑1200 120Hz高刷柔性直屏 6GB+128GB 银翼 游戏电竞智能5G手机 小米 红米',\n",
       "  'price': 1999.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021210046.html&skuid=100021210046&proid=2593508340',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 708640,\n",
       "  'pic': 'http://img11.360buyimg.com/n7/jfs/t1/165649/30/21232/84649/6087f39bE5d110265/9f1baffe419dbb21.jpg',\n",
       "  'create_time': '5天前'},\n",
       " {'title': 'Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+128GB 暗影 游戏电竞智能5G手机 小米 红米',\n",
       "  'price': 1699.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100011284885.html&skuid=100011284885&proid=2597394239',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 707448,\n",
       "  'pic': 'https://img1.360buyimg.com/n1/jfs/t1/167679/27/27166/312007/621c9818Ead71f21c/52593a4fc69c609b.jpg',\n",
       "  'create_time': '5天前'},\n",
       " {'title': '京品手机\\t\\nRedmi  K40  游戏增强版 天玑1200 67W闪充 120Hz高刷柔性直屏 12GB+256GB 银翼 游戏电竞智能5G手机 小米 红米',\n",
       "  'price': 1799.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021211820.html&skuid=100021211820&proid=2610739358',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 708795,\n",
       "  'pic': 'http://img10.360buyimg.com/n7/jfs/t1/192077/3/299/84649/6087f79fE4c4dcd9e/0e915ffd26f8f7b8.jpg',\n",
       "  'create_time': '5天前'},\n",
       " {'title': 'Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相机 8GB+256GB 晴雪 游戏电竞智能5G 小米 红米',\n",
       "  'price': 2699.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100018640834.html&skuid=100018640834&proid=2535137099',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 1896132,\n",
       "  'pic': 'http://img14.360buyimg.com/n7/jfs/t1/213550/40/15995/233817/62416100E90c59124/bef8a375152a2c07.jpg',\n",
       "  'create_time': '16小时前'},\n",
       " {'title': '小米(MI)Redmi  K40  5G 骁龙870 三星AMOLED 120Hz高刷直屏 12GB+256GB 晴雪白',\n",
       "  'price': 2299.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100033876096.html&skuid=100033876096&proid=3215068386',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 180,\n",
       "  'pic': 'https://img14.360buyimg.com/pop/jfs/t1/130065/31/24731/72970/621dee5aEf18d20f1/8c6091e49ca47cdb.jpg',\n",
       "  'create_time': '5天前'},\n",
       " {'title': '【赠蓝牙耳机+顶配直降100元】小米11Pro5g小米手机骁龙888新品智能 k40 游戏拍照小米官方旗舰店安卓小米11pro',\n",
       "  'price': 4299.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/productdetail.aspx?itemid=640814759553&skuid=',\n",
       "  'mall': '天猫商城',\n",
       "  'store': '小米官方旗舰店',\n",
       "  'comment': 2000,\n",
       "  'pic': '//img.alicdn.com/bao/uploaded/i3/1714128138/O1CN01JtUjxB29zFvRwRCDy_!!0-item_pic.jpg',\n",
       "  'create_time': '5天前'},\n",
       " {'title': 'Redmi  K40 骁龙870 三星AMOLED 120Hz高刷直屏 4800万高清三摄相机 8GB+256GB 晴雪 游戏电竞智能5G 小米 红米',\n",
       "  'price': 1999.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100018640842.html&skuid=100018640842&proid=2534577170',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 1903086,\n",
       "  'pic': 'http://img12.360buyimg.com/n7/jfs/t1/151947/40/18542/43553/60377e9cE354f8865/a6cd0ff0752c6c7d.jpg',\n",
       "  'create_time': '5小时前'},\n",
       " {'title': 'Redmi  K40 游戏增强版 天玑1200旗舰处理器 67W闪充 120Hz高刷 12GB+128GB 暗影 电竞5G手机 小米 红米',\n",
       "  'price': 1999.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021205488.html&skuid=100021205488&proid=2590301904',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 707448,\n",
       "  'pic': 'https://img1.360buyimg.com/n1/jfs/t1/103617/32/22657/312005/621cb81fE042fc418/e16891c17b23e21f.jpg',\n",
       "  'create_time': '4天前'},\n",
       " {'title': 'Redmi  K40  游戏增强版 天玑1200 67W闪充 120Hz高刷柔性直屏 8GB+256GB 暗影 游戏电竞智能5G手机小米 红米',\n",
       "  'price': 2099.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100030532582.html&skuid=100030532582&proid=2980929241',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 121,\n",
       "  'pic': 'http://img12.360buyimg.com/n7/jfs/t1/220563/19/6626/82352/61ab5f52E85f44868/afe496079546d0a0.jpg',\n",
       "  'create_time': '4天前'},\n",
       " {'title': '京品手机\\t\\nRedmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+256GB 光刃 电竞智能5G手机 小米 红米',\n",
       "  'price': 1699.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021210014.html&skuid=100021210014&proid=2594388759',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 709512,\n",
       "  'pic': 'http://img14.360buyimg.com/n7/jfs/t1/163161/3/21232/84445/6087e853E8892d7cc/d66470706fe3567b.jpg',\n",
       "  'create_time': '4天前'},\n",
       " {'title': '京品手机Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+256GB 暗影 电竞智能5G手机 小米 红米',\n",
       "  'price': 1799.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100021210030.html&skuid=100021210030&proid=2601531889',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 709512,\n",
       "  'pic': 'http://img10.360buyimg.com/n7/jfs/t1/167260/19/21606/84862/6087e99bE5d046b1f/e0dd064dd82f4033.jpg',\n",
       "  'create_time': '4天前'},\n",
       " {'title': 'Redmi  K40  骁龙870  120Hz高刷 4800万高清三摄 8GB+128GB 幻境【联通用户专享优惠】',\n",
       "  'price': 1866.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100019514035.html&skuid=100019514035&proid=3231113722',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 208,\n",
       "  'pic': 'https://img14.360buyimg.com/pop/jfs/t1/132026/2/23949/49048/622057eeE4fdc5254/973beaf3c1856e7b.jpg',\n",
       "  'create_time': '4天前'},\n",
       " {'title': '小米 Redmi  K40  5G 旗舰骁龙870 120Hz高刷 4800万高清三摄 33W快充 8GB+128GB 墨羽【联通用户专享优惠】',\n",
       "  'price': 1809.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100034652328.html&skuid=100034652328&proid=3235996351',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 232,\n",
       "  'pic': 'http://img13.360buyimg.com/n7/jfs/t1/217605/7/14164/53522/6225b487E90fadba7/85b057d18910fabc.jpg',\n",
       "  'create_time': '4天前'},\n",
       " {'title': '小米 (MI)Redmi  K40  5G 6+128GB 亮黑 4520mAh大电量 年度旗舰骁龙870 专业原色屏 360Hz三指触控 游戏智能全网通5G手机',\n",
       "  'price': 1999.0,\n",
       "  'detail_link': 'http://s.manmanbuy.comhttp://www.manmanbuy.com/redirectUrl.aspx?bjid=2553350947&y=search',\n",
       "  'mall': '苏宁易购',\n",
       "  'store': '自营',\n",
       "  'comment': 42909,\n",
       "  'pic': 'https://uimgproxy.suning.cn/uimg1/pcpv/pcpv/iwogh/2022/02/22/09/iwoghBannerPicture/lTYvPmkz4v1645492024867.png_400w_400h_4e',\n",
       "  'create_time': '5天前'},\n",
       " {'title': 'Redmi  K40 游戏增强版 天玑1200处理器67W闪充 120Hz高刷直屏 8GB+256GB 暗影 游戏电竞智能5G手机 小米 红米',\n",
       "  'price': 2399.0,\n",
       "  'detail_link': 'http://s.manmanbuy.com/jdDetail.aspx?originalUrl=https://item.jd.com/100025471374.html&skuid=100025471374&proid=2747960196',\n",
       "  'mall': '京东商城',\n",
       "  'store': '自营',\n",
       "  'comment': 14,\n",
       "  'pic': 'https://img14.360buyimg.com/pop/jfs/t1/178307/1/19034/86572/611dcd6bE844b886a/1607004655d1a041.jpg',\n",
       "  'create_time': '5天前'},\n",
       " {'title': '小米 (MI)Redmi  K40 游戏增强版 8+256GB 光刃 高游戏性能认证 天玑1200处理器 5G智能电竞手机 小米安卓大屏手机游戏手机',\n",
       "  'price': 2399.0,\n",
       "  'detail_link': 'http://s.manmanbuy.comhttp://www.manmanbuy.com/redirectUrl.aspx?bjid=2595795465&y=search',\n",
       "  'mall': '苏宁易购',\n",
       "  'store': '自营',\n",
       "  'comment': 3049,\n",
       "  'pic': 'https://uimgproxy.suning.cn/uimg1/pcpv/pcpv/iwogh/2021/11/03/09/iwoghBannerPicture/TGuBNgGU6V1635904499805.png_400w_400h_4e',\n",
       "  'create_time': '4天前'}]"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "t.to_dict(orient = 'records')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "interpreter": {
   "hash": "e7f68de091ab9fe78efb04c2f1043a0830ca144fb08c04bd27af4134d6c3b4f9"
  },
  "kernelspec": {
   "display_name": "Python 3.10.2 64-bit",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.2"
  },
  "orig_nbformat": 4
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
